﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Data
{
    [DataContract]
    public class ResponseHeader
    {
        /// <summary>
        /// 发送请求的数据头
        /// </summary>
        [DataMember]
        public RequestHeader RequestHeader { get; set; }

        /// <summary>
        /// 发送请求的时长
        /// </summary>
        [DataMember]
        public long SendTicks { get; set; }

        /// <summary>
        /// 场景编码
        /// </summary>
        [DataMember]
        public byte Scenario { get; set; }

        /// <summary>
        /// 指令编码
        /// </summary>
        [DataMember]
        public byte Command { get; set; }

        /// <summary>
        /// 数据长度
        /// </summary>
        [DataMember]
        public long DataLength { get; set; }

        /// <summary>
        /// 操作时长
        /// </summary>
        [DataMember]
        public long HandleTicks { get; set; }
    }
}
